package com.moneywelcome.riskassembly.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 用户评分表
 * </p>
 *
 * @author alice
 * @since 2022-01-12
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class UserGrade implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键id
     */
    @TableId(value = "user_grade_id", type = IdType.AUTO)
    private Integer userGradeId;

    /**
     * 用户id
     */
    private Integer userId;

    /**
     * 用户评分
     */
    private Integer userGrade;

    /**
     * 记录新增时间
     */
    private LocalDateTime rawAddTime;

    /**
     * 更新时间
     */
    private LocalDateTime rawUpdateTime;


}
